<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>测试HTML</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f0f0f0;
            margin: 0;
            padding: 20px;
        }
        .poster-container {
            width: 500px;
            height: 400px;
            background-color: white;
            border: 1px solid #ddd;
            border-radius: 5px;
            padding: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        h1 {
            color: #333;
            font-size: 24px;
        }
        p {
            color: #666;
            font-size: 16px;
            line-height: 1.5;
        }
    </style>
</head>
<body>
    <div class="poster-container">
        <h1>测试海报</h1>
        <p>这是一个简单的HTML测试文件，用于测试HTML转图片功能。</p>
        <p>当前时间: <span id="time"></span></p>
    </div>

    <script>
        document.getElementById('time').textContent = new Date().toLocaleString();
    </script>
</body>
</html> 